WooCommerce\Square\Handlers\Order S

Total Complexity 42
Dependencies 5
Dependents 1
Total lines 275
Lines of code 120
Logical lines of code 80
Comment lines 95
Methods 9
Properties 2

Methods 9

Method Rating Maintainability Complexity Lines of code
maybe_sync_stock_for_refund_from_other_gateway()
A
46 12 35
maybe_stage_inventory_updates_for_product()
S
59 7 13
cache_previous_stock()
S
60 6 13
maybe_sync_staged_inventory_updates()
S
55 5 20
maybe_sync_stock_for_order_via_paypal()
S
60 5 14
maybe_sync_stock_for_order_via_other_gateway()
S
70 3 6
sync_stock_for_order()
S
65 2 9
__construct()
S
69 1 6
hide_square_order_item_meta()
S
77 1 4